package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 每周菜单确认记录对象 tb_dose_menu_log
 *
 * @author ruoyi
 * @date 2025-09-20
 */
public class DoseMenuLog extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 每周菜单id
     */
    @Excel(name = "每周菜单id")
    private Long doseId;

    /**
     * 用户id，关联sys_user表
     */
    @Excel(name = "用户id，关联sys_user表")
    private Long userId;

    /**
     * 0系统用户 1公司 2学校 3家委会 4教育局
     */
    @Excel(name = "0系统用户 1公司 2学校 3家委会 4教育局")
    private Integer type;

    /**
     * 0同意 1不同意
     */
    @Excel(name = "0同意 1不同意")
    private Integer status;

    /**
     * 拒绝原因(200字)
     */
    private String reason;

    /**
     * 0正常 1删除
     */
    @Excel(name = "0正常 1删除")
    private String deleted;

    /**
     * 用户名称
     */
    private String nickName;

    /**
     * 日期_查询用
     */
    private String week;

    public DoseMenuLog() {
    }

    public DoseMenuLog(Long doseId, Long userId, Integer type) {
        this.doseId = doseId;
        this.userId = userId;
        this.type = type;
    }

    public String getWeek() {
        return week;
    }

    public void setWeek(String week) {
        this.week = week;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setDoseId(Long doseId) {
        this.doseId = doseId;
    }

    public Long getDoseId() {
        return doseId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getType() {
        return type;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setDeleted(String deleted) {
        this.deleted = deleted;
    }

    public String getDeleted() {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("doseId", getDoseId())
                .append("userId", getUserId())
                .append("type", getType())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("deleted", getDeleted())
                .toString();
    }
}
